<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!-- begin conten -->
 <div id="content">
 <div style="color: white;"><h2>Your Card</h2></div>
					
					<div class="CSSTableGenerator"  >
												<table >
													<tr>
														<td style="color: black;">
														STT															
														</td>
														<td style="color: black;">
															Product Name
														</td>
														<td style="color: black;">
															Pice 
														</td>
														<td style="color: black;">
															Image
														</td>
														<td style="color: black;">
															Factory
														</td>	
														<td style="color: black;">
															Warrty
														</td>																																					
													</tr>
													<s:if test="listcard.size()>0">	
													<s:iterator value="listcard" var="lsc" status="status">													
													<tr>
														<td>
															<s:property value='(#status.index+1)'/>																																																																													
														</td>
														
														<td>
														<a href="/chitiet?id=<s:property value='#lsc.product.getId()'/>"><s:property value='#lsc.product.getName()'/></a>
															
														</td>
														
														<td>
														$ &nbsp;	<s:property value='#lsc.product.getPice()'/>	
														</td>
														
														<td>
															<img width="50px" height="50px" src="/resource/image/<s:property value='#lsc.product.image'/>" alt="Product Image" />	
														</td>
														
														<td>
														<s:property value='#lsc.product.factory.getName()'/>	
														</td>
														
														<td>
														<s:property value='#lsc.warranty'/>	
														</td>																										
													</tr>	
													</s:iterator>
													</s:if>																																																																																																						
												</table>
					</div>
					<br>
					
					<div align="right" >
					Total : <input style="width: 100px; height: 30px;" readonly="readonly" type="text" name="name" value="$&nbsp;<s:property value='tongtien'/>"/>
					
					</div>
					<div class="buttonslogin">
                                     <a class="button" id="login" href="/trangchu">Continue To Buy</a>
                                     
                    </div>											
					<div class="buttonslogin" style="text-align:right ;padding : 0px 0px 0px 0px; ">
                      <a class="button" id="login" href="/Pay">Payment</a>
                                     
                    </div>																
</div>
					<!-- End Content -->



